package com.bls.sms.bo.impl;

import org.springframework.transaction.PlatformTransactionManager;
import org.springframework.transaction.support.TransactionTemplate;

public class BaseBO {
    private TransactionTemplate transactionTemplate;

    public void setTransactionManager(
            PlatformTransactionManager transactionManager) {
        this.transactionTemplate = new TransactionTemplate(transactionManager);
    }
    public TransactionTemplate getTransactionTemplate() {
        return transactionTemplate;
    }
}
